import {createStore,applyMiddleware,combineReducers} from "redux"
import thunk  from 'redux-thunk'

import countReducer from './reducers/countReduer'
import movieReducer from './reducers/movieReduer'

const mergeReducer = combineReducers({
    movie:movieReducer,
    count:countReducer
})

const store = createStore(mergeReducer,applyMiddleware(thunk))

export default store;